﻿using System;
using System.IO;

namespace LocalDbControler
{
    public class MainLogger
    {
        public static void WriteLog(string mes)
        {
            string path = Controller.dir_Log + "\\" + DateTime.Now.ToString("yyyy-MM-dd")+".log";
            File.AppendAllText(path,$"[{DateTime.Now.ToString("HH:mm:ss")}]："+mes+"\r\n");
        }
    }
}